<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" Inherits="PropertyBagFeatureSample.ApplicationPages.UpdateProperty, PropertyBagFeatureSample.ApplicationPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c1bc4d39a7ccc162" MasterPageFile="~/_layouts/application.master" %> 



<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <sharepoint:encodedliteral runat="server" text="Custom Navigation" encodemethod='HtmlEncode' />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    Update a Property in the Property Bag
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table class="ms-propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
        <wssuc:inputformsection title="Enter new property value" description=""
            runat="server">
				<Template_InputFormControls>
						<wssuc:InputFormControl LabelText="Property Name" LabelAssociatedControlID="propertyNameTextBox" runat="server">
							<Template_Control>
								<wssawc:InputFormTextBox Title="Property Name" class="ms-input" ID="propertyNameTextBox" Runat="server" MaxLength="255" />
							</Template_Control>
						</wssuc:InputFormControl>
						<wssuc:InputFormControl LabelText="Property Value" LabelAssociatedControlID="propertyValueTextBox" runat="server">
							<Template_Control>
								<wssawc:InputFormTextBox Title="Property Value" class="ms-input" ID="propertyValueTextBox" Runat="server" MaxLength="255" />
							</Template_Control>
						</wssuc:InputFormControl>
				</Template_InputFormControls>
			</wssuc:inputformsection>
        <!--OK and Cancel buttons-->
        <wssuc:buttonsection runat="server" showstandardcancelbutton="false">
			    <Template_Buttons>
				    <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="HandleOKButtonClick" Text="<%$Resources:wss,multipages_okbutton_text%>" id="buttonOK" accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
				    <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="HandleCancelButtonClick" Text="<%$Resources:cms, multipages_cancelbutton_text%>" id="buttonCancel" CausesValidation="false" AccessKey="<%$Resources:cms,cancelbutton_accesskey%>"/>
			    </Template_Buttons>
		    </wssuc:buttonsection>
    </table>
</asp:Content>
